<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:set var="contextPath" value="${pageContext.request.contextPath}"/>

	<div class="productGallery">
		<c:forEach var="article" items="${articleList}">
		<div class="articleThumbContainer">
			<div class="articleThumb" onclick="location.href='${contextPath}/productDetails.html?articleID=${article.articleID}'">
				<img width="100" height="100" alt="" src="${contextPath}${article.imageSmallPath}">
			</div>
			<div class="addItemToShoppingCartIcon" onclick="location.href='${contextPath}/flows/addItemToShoppingCart.html?articleID=${article.articleID}'">
				<img width="20" height="20" src="${contextPath}/images/shoppingCartIcon.gif">
			</div>
		</div>
		</c:forEach>
	</div>